package createPattern.AbstractFactory;

import createPattern.AbstractFactory.Computer.IComputer;

public class Client {
	public void Test(){
		IComputerAbstractorFactory abFactory = new DesktopComputeFactory();
	    IComputer computer = abFactory.CreateComputer();
	    computer.SetMouse(abFactory.CreateMouse());
	    computer.SetKeyBoard(abFactory.CreateKeyBoard());
	}
}
